package com.jaux.hotel.service;

import com.jaux.hotel.common.Result;
import com.jaux.hotel.dto.StudentDto;
import com.jaux.hotel.pojo.Student;

import java.util.List;

/**
 * @author 16778
 */
public interface StudentService {

    public Student selectStudentById(Long stuNum);

    public List<Student> selectStudentList();

    public void deleteStudentById(Long stuNum);

    public String addStudent(Student student);

    public String updateStuentById(int stuNum, String name);

    public Result<String> login(String phone , String code);

    public Result<String> register(Student student);

    public Result<String> updatePassword(StudentDto studentDto);
}
